const mongoose = require("mongoose");

module.exports = mongoose.model("partment", {
  //部门名字
  name: {
    type: String,
    required: true,
  },
  //创建时间
  time: {
    type: String,
    required: true,
  },
  //部门状态  1启用，0未启用
  type: {
    type: Number,
    default: 1,
  },
});
